/*!
 * Ext JS Library 3.0.0
 * Copyright(c) 2006-2009 Ext JS, LLC
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
/*
 * Serbian Cyrillic Translation
 * by ÄŒolovic Vladan (cyrillic, utf8 encoding)
 * sr_RS (ex: sr_CS, sr_YU)
 * 12 May 2007
 */

Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Ð£Ñ‡Ð¸Ñ‚Ð°Ð²Ð°Ð¼...</div>';

if(Ext.View){
   Ext.View.prototype.emptyText = "";
}

if(Ext.grid.GridPanel){
   Ext.grid.GridPanel.prototype.ddText = "{0} Ð¸Ð·Ð°Ð±Ñ€Ð°Ð½Ð¸Ñ… Ñ€ÐµÐ´Ð¾Ð²Ð°";
}

if(Ext.TabPanelItem){
   Ext.TabPanelItem.prototype.closeText = "Ð—Ð°Ñ‚Ð²Ð¾Ñ€Ð¸ Ð¾Ð²Ñƒ Â»ÐºÐ°Ñ€Ñ‚Ð¸Ñ†ÑƒÂ«";
}

if(Ext.form.Field){
   Ext.form.Field.prototype.invalidText = "Ð£Ð½ÐµÑˆÐµÐ½Ð° Ð²Ñ€ÐµÐ´Ð½Ð¾Ñ�Ñ‚ Ð½Ð¸Ñ˜Ðµ Ð¿Ñ€Ð°Ð²Ð¸Ð»Ð½Ð°";
}

if(Ext.LoadMask){
    Ext.LoadMask.prototype.msg = "Ð£Ñ‡Ð¸Ñ‚Ð°Ð²Ð°Ð¼...";
}

Date.monthNames = [
   "ÐˆÐ°Ð½ÑƒÐ°Ñ€",
   "Ð¤ÐµÐ±Ñ€ÑƒÐ°Ñ€",
   "ÐœÐ°Ñ€Ñ‚",
   "Ð�Ð¿Ñ€Ð¸Ð»",
   "ÐœÐ°Ñ˜",
   "ÐˆÑƒÐ½",
   "ÐˆÑƒÐ»",
   "Ð�Ð²Ð³ÑƒÑ�Ñ‚",
   "Ð¡ÐµÐ¿Ñ‚ÐµÐ¼Ð±Ð°Ñ€",
   "ÐžÐºÑ‚Ð¾Ð±Ð°Ñ€",
   "Ð�Ð¾Ð²ÐµÐ¼Ð±Ð°Ñ€",
   "Ð”ÐµÑ†ÐµÐ¼Ð±Ð°Ñ€"
];

Date.dayNames = [
   "Ð�ÐµÐ´ÐµÑ™Ð°",
   "ÐŸÐ¾Ð½ÐµÐ´ÐµÑ™Ð°Ðº",
   "Ð£Ñ‚Ð¾Ñ€Ð°Ðº",
   "Ð¡Ñ€ÐµÐ´Ð°",
   "Ð§ÐµÑ‚Ð²Ñ€Ñ‚Ð°Ðº",
   "ÐŸÐµÑ‚Ð°Ðº",
   "Ð¡ÑƒÐ±Ð¾Ñ‚Ð°"
];

if(Ext.MessageBox){
   Ext.MessageBox.buttonText = {
      ok     : "Ð£ Ñ€ÐµÐ´Ñƒ",
      cancel : "ÐžÐ´ÑƒÑ�Ñ‚Ð°Ð½Ð¸",
      yes    : "Ð”Ð°",
      no     : "Ð�Ðµ"
   };
}

if(Ext.util.Format){
   Ext.util.Format.date = function(v, format){
      if(!v) return "";
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
      return v.dateFormat(format || "d.m.Y");
   };
}

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Ð”Ð°Ð½Ð°Ñ�",
      minText           : "Ð”Ð°Ñ‚ÑƒÐ¼ Ñ˜Ðµ Ð¸Ñ�Ð¿Ñ€ÐµÐ´ Ð½Ð°Ñ˜Ð¼Ð°ÑšÐµÐ³ Ð´Ð¾Ð·Ð²Ð¾Ñ™ÐµÐ½Ð¾Ð³ Ð´Ð°Ñ‚ÑƒÐ¼Ð°",
      maxText           : "Ð”Ð°Ñ‚ÑƒÐ¼ Ñ˜Ðµ Ð½Ð°ÐºÐ¾Ð½ Ð½Ð°Ñ˜Ð²ÐµÑ›ÐµÐ³ Ð´Ð¾Ð·Ð²Ð¾Ñ™ÐµÐ½Ð¾Ð³ Ð´Ð°Ñ‚ÑƒÐ¼Ð°",
      disabledDaysText  : "",
      disabledDatesText : "",
      monthNames	: Date.monthNames,
      dayNames		: Date.dayNames,
      nextText          : 'Ð¡Ð»ÐµÐ´ÐµÑ›Ð¸ Ð¼ÐµÑ�ÐµÑ† (Control+Ð”ÐµÑ�Ð½Ð¾)',
      prevText          : 'ÐŸÑ€ÐµÑ‚Ñ…Ð¾Ð´Ð½Ð¸ Ð¼ÐµÑ�ÐµÑ† (Control+Ð›ÐµÐ²Ð¾)',
      monthYearText     : 'Ð˜Ð·Ð°Ð±ÐµÑ€Ð¸Ñ‚Ðµ Ð¼ÐµÑ�ÐµÑ† (Control+Ð“Ð¾Ñ€Ðµ/Ð”Ð¾Ð»Ðµ Ð·Ð° Ð¸Ð·Ð±Ð¾Ñ€ Ð³Ð¾Ð´Ð¸Ð½Ðµ)',
      todayTip          : "{0} (Ð Ð°Ð·Ð¼Ð°ÐºÐ½Ð¸Ñ†Ð°)",
      format            : "d.m.y",
      startDay 		 : 1
   });
}

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "Ð¡Ñ‚Ñ€Ð°Ð½Ð°",
      afterPageText  : "Ð¾Ð´ {0}",
      firstText      : "ÐŸÑ€Ð²Ð° Ñ�Ñ‚Ñ€Ð°Ð½Ð°",
      prevText       : "ÐŸÑ€ÐµÑ‚Ñ…Ð¾Ð´Ð½Ð° Ñ�Ñ‚Ñ€Ð°Ð½Ð°",
      nextText       : "Ð¡Ð»ÐµÐ´ÐµÑ›Ð° Ñ�Ñ‚Ñ€Ð°Ð½Ð°",
      lastText       : "ÐŸÐ¾Ñ�Ð»ÐµÐ´ÑšÐ° Ñ�Ñ‚Ñ€Ð°Ð½Ð°",
      refreshText    : "ÐžÑ�Ð²ÐµÐ¶Ð¸",
      displayMsg     : "ÐŸÑ€Ð¸ÐºÐ°Ð·Ð°Ð½Ð° {0} - {1} Ð¾Ð´ {2}",
      emptyMsg       : 'Ð�ÐµÐ¼Ð°Ð¼ ÑˆÑ‚Ð° Ð¿Ñ€Ð¸ÐºÐ°Ð·Ð°Ñ‚Ð¸'
   });
}

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "ÐœÐ¸Ð½Ð¸Ð¼Ð°Ð»Ð½Ð° Ð´ÑƒÐ¶Ð¸Ð½Ð° Ð¾Ð²Ð¾Ð³ Ð¿Ð¾Ñ™Ð° Ñ˜Ðµ {0}",
      maxLengthText : "ÐœÐ°ÐºÑ�Ð¸Ð¼Ð°Ð»Ð½Ð° Ð´ÑƒÐ¶Ð¸Ð½Ð° Ð¾Ð²Ð¾Ð³ Ð¿Ð¾Ñ™Ð° Ñ˜Ðµ {0}",
      blankText     : "ÐŸÐ¾Ñ™Ðµ Ñ˜Ðµ Ð¾Ð±Ð°Ð²ÐµÐ·Ð½Ð¾",
      regexText     : "",
      emptyText     : null
   });
}

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "ÐœÐ¸Ð½Ð¸Ð¼Ð°Ð»Ð½Ð° Ð²Ñ€ÐµÐ´Ð½Ð¾Ñ�Ñ‚ Ñƒ Ð¿Ð¾Ñ™Ñƒ Ñ˜Ðµ {0}",
      maxText : "ÐœÐ°ÐºÑ�Ð¸Ð¼Ð°Ð»Ð½Ð° Ð²Ñ€ÐµÐ´Ð½Ð¾Ñ�Ñ‚ Ñƒ Ð¿Ð¾Ñ™Ñƒ Ñ˜Ðµ {0}",
      nanText : "{0} Ð½Ð¸Ñ˜Ðµ Ð¿Ñ€Ð°Ð²Ð¸Ð»Ð°Ð½ Ð±Ñ€Ð¾Ñ˜"
   });
}

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "ÐŸÐ°Ñ�Ð¸Ð²Ð½Ð¾",
      disabledDatesText : "ÐŸÐ°Ñ�Ð¸Ð²Ð½Ð¾",
      minText           : "Ð”Ð°Ñ‚ÑƒÐ¼ Ñƒ Ð¾Ð²Ð¾Ð¼ Ð¿Ð¾Ñ™Ñƒ Ð¼Ð¾Ñ€Ð° Ð±Ð¸Ñ‚Ð¸ Ð½Ð°ÐºÐ¾Ð½ {0}",
      maxText           : "Ð”Ð°Ñ‚ÑƒÐ¼ Ñƒ Ð¾Ð²Ð¾Ð¼ Ð¿Ð¾Ñ™Ñƒ Ð¼Ð¾Ñ€Ð° Ð±Ð¸Ñ‚Ð¸ Ð¿Ñ€Ðµ {0}",
      invalidText       : "{0} Ð½Ð¸Ñ˜Ðµ Ð¿Ñ€Ð°Ð²Ð¸Ð»Ð°Ð½ Ð´Ð°Ñ‚ÑƒÐ¼ - Ð·Ð°Ñ…Ñ‚ÐµÐ²Ð°Ð½Ð¸ Ð¾Ð±Ð»Ð¸Ðº Ñ˜Ðµ {1}",
      format            : "d.m.y"
   });
}

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Ð£Ñ‡Ð¸Ñ‚Ð°Ð²Ð°Ð¼...",
      valueNotFoundText : undefined
   });
}

if(Ext.form.VTypes){
   Ext.apply(Ext.form.VTypes, {
      emailText    : 'ÐžÐ²Ð¾ Ð¿Ð¾Ñ™Ðµ Ð¿Ñ€Ð¸Ñ…Ð²Ð°Ñ‚Ð° e-mail Ð°Ð´Ñ€ÐµÑ�Ñƒ Ð¸Ñ�ÐºÑ™ÑƒÑ‡Ð¸Ð²Ð¾ Ñƒ Ð¾Ð±Ð»Ð¸ÐºÑƒ "korisnik@domen.com"',
      urlText      : 'ÐžÐ²Ð¾ Ð¿Ð¾Ñ™Ðµ Ð¿Ñ€Ð¸Ñ…Ð²Ð°Ñ‚Ð° URL Ð°Ð´Ñ€ÐµÑ�Ñƒ Ð¸Ñ�ÐºÑ™ÑƒÑ‡Ð¸Ð²Ð¾ Ñƒ Ð¾Ð±Ð»Ð¸ÐºÑƒ "http:/'+'/www.domen.com"',
      alphaText    : 'ÐžÐ²Ð¾ Ð¿Ð¾Ñ™Ðµ Ð¼Ð¾Ð¶Ðµ Ñ�Ð°Ð´Ñ€Ð¶Ð°Ñ‚Ð¸ Ð¸Ñ�ÐºÑ™ÑƒÑ‡Ð¸Ð²Ð¾ Ñ�Ð»Ð¾Ð²Ð° Ð¸ Ð·Ð½Ð°Ðº _',
      alphanumText : 'ÐžÐ²Ð¾ Ð¿Ð¾Ñ™Ðµ Ð¼Ð¾Ð¶Ðµ Ñ�Ð°Ð´Ñ€Ð¶Ð°Ñ‚Ð¸ Ñ�Ð°Ð¼Ð¾ Ñ�Ð»Ð¾Ð²Ð°, Ð±Ñ€Ð¾Ñ˜ÐµÐ²Ðµ Ð¸ Ð·Ð½Ð°Ðº _'
   });
}

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Ð Ð°Ñ�Ñ‚ÑƒÑ›Ð¸ Ñ€ÐµÐ´Ð¾Ñ�Ð»ÐµÐ´",
      sortDescText : "ÐžÐ¿Ð°Ð´Ð°Ñ˜ÑƒÑ›Ð¸ Ñ€ÐµÐ´Ð¾Ñ�Ð»ÐµÐ´",
      lockText     : "Ð—Ð°ÐºÑ™ÑƒÑ‡Ð°Ñ˜ ÐºÐ¾Ð»Ð¾Ð½Ñƒ",
      unlockText   : "ÐžÑ‚ÐºÑ™ÑƒÑ‡Ð°Ñ˜ ÐºÐ¾Ð»Ð¾Ð½Ñƒ",
      columnsText  : "ÐšÐ¾Ð»Ð¾Ð½Ðµ"
   });
}

if(Ext.grid.PropertyColumnModel){
   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
      nameText   : "Ð�Ð°Ð·Ð¸Ð²",
      valueText  : "Ð’Ñ€ÐµÐ´Ð½Ð¾Ñ�Ñ‚",
      dateFormat : "d.m.Y"
   });
}

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
      splitTip            : "ÐŸÐ¾Ð²ÑƒÑ›Ð¸ Ð·Ð° Ð¸Ð·Ð¼ÐµÐ½Ñƒ Ð²ÐµÐ»Ð¸Ñ‡Ð¸Ð½Ðµ.",
      collapsibleSplitTip : "ÐŸÐ¾Ð²ÑƒÑ›Ð¸ Ð·Ð° Ð¸Ð·Ð¼ÐµÐ½Ñƒ Ð²ÐµÐ»Ð¸Ñ‡Ð¸Ð½Ðµ. Ð”Ð²Ð¾Ñ�Ñ‚Ñ€ÑƒÐºÐ¸ ÐºÐ»Ð¸Ðº Ð·Ð° Ñ�Ð°ÐºÑ€Ð¸Ð²Ð°ÑšÐµ."
   });
}
